// #ifndef VUE3
import Vue from "vue";
import App from "./App";
import uView from "uview-ui";

Vue.config.productionTip = false;
Vue.prototype.$host = "https://prosystem.panasonic.cn";

App.mpType = "app";

Vue.use(uView);

// document.body.addEventListener(
//   "touchmove",
//   function (e) {
//     e.preventDefault();
//   },
//   { passive: false }
// );

const app = new Vue({
  ...App,
});
app.$mount();
// #endif

// #ifdef VUE3
import { createSSRApp } from "vue";
import App from "./App.vue";
export function createApp() {
  const app = createSSRApp(App);
  return {
    app,
  };
}
// #endif
